{% extends "base.html" %}
{% block title %} Список грузов {% endblock %}

{% block css-js %}
{#    {% load static %}#}
{#    <script src="{% static '' %}"></script>#}
{% endblock %}

{% block content %}

    <div class="centered">
        <form action="{% url 'CarView' pk=car.pk %}" method="post">
            {% csrf_token %}

            {% for foo in form %}
                <div class="m-3">
                    {{ foo.label }}{{ foo }}
                </div>
            {% endfor %}

            <input type="submit" value="Сохранить">
        </form>
    </div>

{% endblock %}